﻿<phone:PhoneApplicationPage 
    x:Class="VISUALFINDR.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"    
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d" FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}" d:DesignHeight="800" d:DesignWidth="480">

    <Grid x:Name="LayoutRoot" Background="#FFA7AFAF">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>

        <!--TitleGrid is the name of the application and page title-->
        

        <!--ContentGrid is empty. Place new content here-->
        <Grid x:Name="ContentGrid" Grid.Row="1" Background="Black">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="84*" />
                <ColumnDefinition Width="396*" />
            </Grid.ColumnDefinitions>
            <Button Height="58" HorizontalAlignment="Left" Margin="0,715,0,0" Name="button2" VerticalAlignment="Top" Width="61" BorderThickness="0" Click="button2_Click" />
            <Button Content="Take Picture" Height="72" HorizontalAlignment="Left" Margin="37,288,0,0" Name="buttonTakePicture" VerticalAlignment="Top" Width="225" Click="buttonTakePicture_Click" Visibility="Visible" Grid.Column="1" />
            <Button Content="Logo Search" Height="90" HorizontalAlignment="Left" Margin="36,613,0,0" Name="buttonVisualSearch" VerticalAlignment="Top" Width="226" Click="buttonVisualSearch_Click" Visibility="Visible" Grid.Column="1" />
            <Button Content="Test Match" Height="72" HorizontalAlignment="Right" Margin="0,223,134,0" Name="buttonTestRecognised" VerticalAlignment="Top" Width="225" Click="buttonTestRecognised_Click" Visibility="Visible" Grid.Column="1" />
            <Button Content="Load from Lib" Height="72" HorizontalAlignment="Left" Margin="37,351,0,0" Name="buttonLoadFromLibrary" VerticalAlignment="Top" Width="225" Click="buttonLoadFromLibrary_Click" Visibility="Visible" Grid.Column="1" />
            <Button Content="Test NoMatch" Height="72" HorizontalAlignment="Left" Margin="36,166,0,0" Name="buttonTestNotRecognised" VerticalAlignment="Top" Width="226" Click="buttonTestNotRecognised_Click" Visibility="Visible" Grid.Column="1" />
            <TextBox Height="72" HorizontalAlignment="Left" Margin="9,0,0,635" Name="textBox1" Text="" VerticalAlignment="Bottom" Width="460" TextChanged="textBox1_TextChanged" AcceptsReturn="True" Grid.ColumnSpan="2" />
            <Image Height="150" HorizontalAlignment="Left" Margin="49,457,0,0" Name="imageCaptured" Stretch="Fill" VerticalAlignment="Top" Width="200" Visibility="Visible" Grid.Column="1" />
            <TextBlock Grid.ColumnSpan="2" Margin="10,10,11,694" Name="PageTitle" Style="{StaticResource PhoneTextTitle1Style}" Text="VISUALFINDR" />
        </Grid>
    </Grid>
    
</phone:PhoneApplicationPage>